package cn.snoworld.mapper;

import cn.snoworld.entity.Comment;
import cn.snoworld.entity.relation.ArticleComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface CommentMapper extends BaseMapper<Comment> {
    int insertRelationForArticle(ArticleComment articleComment);

    List<Comment> selectCommentListByArticleId(Integer articleId);
}
